home *** CD-ROM | disk | FTP | other *** search
- Path: comma.rhein.de!serpens!not-for-mail
- From: mlelstv@serpens.rhein.de (Michael van Elst)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: overloading operator()
- Date: 27 Jan 1996 21:32:16 +0100
- Organization: dis-
- Message-ID: <4ee24g$9r2@serpens.rhein.de>
- References: <DLusrq.JzL@rose.com>
- NNTP-Posting-Host: serpens.rhein.de
-
- awhite@user.rose.com (A White) writes:
-
- > SubString operator()( size_t position, size_t length );
- > ^
- >String.hxx Error 1200: Syntax error in member list:
- > Expected member declaration; found 'operator'.
-
- At this point the compiler doesn't know the class SubString.
- If you simply declare the class before with
-
- class SubString;
-
- your code should compile.
-
- --
- Michael van Elst
-
- Internet: mlelstv@serpens.rhein.de
- "A potential Snark may lurk in every tree."
-